//-------------------------------------------------------------------
//	Copyright (c) 2013-2014  Zhirnov Andrey
//	This file is part of the "UX OpwnGL Framework" project.
//	See copyright notice in "UX_GL_Framework.h".
//-------------------------------------------------------------------

#pragma once

#include <Common.h>

using namespace ALShell;

class CSampleApplication : public CApplication
{
// types
private:


// variables
private:
	GLProgramPtr		progViewHeight;

	GLTexture2DPtr		texHeight;

	ALSoundSystem		soundsys;
	ALSoundBufferPtr	soundBuffer;
	ALSoundPtr			sound;


// methods
public:
	CSampleApplication ();
	~CSampleApplication ();

	void Draw () override;
	void Update () override;
	void OnResize () override;
	void OnInit () override;
	void OnFree () override;
	
	static bool Run ();
};
